/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication2;

import java.util.Comparator;

/**
 *
 * @author ppfaff
 */
public class comparator implements Comparator<property>{
    @Override//NetBeans wishes for me to add this... no clue why
public int compare(property a, property b){
    if(a.getType().compareTo(b.getType())>1){return 1;}
    if(a.getType().compareTo(b.getType())<1){return -1;}
    return 0;
    }

    public comparator() {
    }

}
